package concert;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import soundsystem.CDPlayerConfig;

/**
 * Created by jack on 18/5/29.
 */

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = AspectConfig.class)
public class AspectTest {
    @Autowired
    Performance vc;
    @Autowired
    Account_book ab;
    @Test
    public void test(){
        vc.perform();
        vc.tips(1);
        vc.tips(1);
        vc.tips(10);
        vc.tips(1);
        System.out.println(ab.getAccount());
    }
}
